// import user from './modules/user'

const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  name: state => state.user.UserInfo.username,
  userId: state => state.user.UserInfo.userId,
  company: state => state.user.UserInfo.company,
  avatar: state => state.user.UserInfo.staffPhoto // 建立用户头像的映射
}
export default getters
